#!/bin/bash

# read -p "Enter your commit note, please: " commit

tmp=`ps ef | grep Illustrator| grep -v grep | awk '{print $2}'`
echo ${tmp}
kill -9 ${tmp}

git add --all
# git commit -a -m "$commit"
git commit -a -m "$*"
git push

sleep 5s

cd /Library/Application Support/Adobe/CEP/extensions/adobe-cep
sudo git pull



sleep 5s

open /Applications/Adobe\ Illustrator\ 2020/Adobe\ Illustrator.app 
cd ~/Code/adobe-cep/
